package com.wanrue.prometheus.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;

@Data
@ConfigurationProperties(prefix = "discovery")
public class DiscoveryConfig {

    private String mode;

    private Nacos nacos;

    @Data
    public static class Nacos {
        private String serverAddr;
        private String namespace;
        private String clusterName;
        private String group;
    }

}
